<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>Header Test</title>
	
</head>

<body>

<pre>
    
    
<?php

//$fp = fsockopen("http://itransmogrify.googlecode.com/files/iTransmogrify-1.2b1.js", 80, $errno, $errstr, 30);

// $headers = get_headers('http://itransmogrify.googlecode.com/files/iTransmogrify-1.2b1.js', 1);

$c = curl_init();

curl_setopt($c, CURLOPT_URL, 'http://code.google.com/p/itransmogrify/');
curl_setopt($c,CURLOPT_HEADER,TRUE);
#curl_setopt($c,CURLOPT_MUTE,TRUE);
curl_setopt($c,CURLOPT_RETURNTRANSFER,true);

curl_exec($c);
$info = curl_getinfo($c);
curl_close($c);
print_r($info);

?>


</pre>
</body>
</html>

